package Lesson17.Car;

public class CarDemo {

	public static void main(String[] args) 
	{
		Jeep jeep = new Jeep();
		jeep.model = "Grand Cherokee";
		jeep.startEngine();
		jeep.switch4x4();
		
		SportCar lambo = new SportCar();
		lambo.model = "Diablo";
		lambo.switchTurbo();
		lambo.startEngine();
		
		jeep.accelerate(3000);
		
		System.out.println("=====SPORT CAR=====");
		lambo.accelerate(3000);
		System.out.println(jeep.currentSpeed);
		
		System.out.println(jeep);
	}

}